package com.zlp.mybatisplus.mybatisplus.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhulaiping
 * @since 2022-08-15
 */
@TableName("bcrm_customer_shop")
public class CustomerShop extends Model<CustomerShop> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 经销商编号
     */
    private String code;

    /**
     * 账套编码
     */
    @TableField("company_code")
    private String companyCode;

    /**
     * 门店编号
     */
    @TableField("shop_code")
    private String shopCode;

    /**
     * 创建时间
     */
    @TableField("created_at")
    private Date createdAt;

    /**
     * 修改时间
     */
    @TableField("updated_at")
    private Date updatedAt;

    /**
     * 删除时间
     */
    @TableField("deleted_at")
    private Date deletedAt;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }
    public String getShopCode() {
        return shopCode;
    }

    public void setShopCode(String shopCode) {
        this.shopCode = shopCode;
    }
    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
    public Date getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(Date deletedAt) {
        this.deletedAt = deletedAt;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }

    @Override
    public String toString() {
        return "CustomerShop{" +
        "id=" + id +
        ", code=" + code +
        ", companyCode=" + companyCode +
        ", shopCode=" + shopCode +
        ", createdAt=" + createdAt +
        ", updatedAt=" + updatedAt +
        ", deletedAt=" + deletedAt +
        "}";
    }
}
